package com.batyuta;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: alexey
 * Date: 6/20/11
 * Time: 4:57 PM
 * To change this template use File | Settings | File Templates.
 */
public final class TriangleProvider {
    public static ITriangle getTriangle(){
        return new Triangle(80,120,50);
    }
    public static List<ITriangle> getTriangles(){
        List<ITriangle> result = new ArrayList<ITriangle>();
        result.add(new Triangle(40,55,25));
        result.add(new Triangle(70,45,55));
        result.add(new Triangle(40,25,55));
        result.add(new Triangle(70,25,25));
        result.add(new Triangle(25,55,25));
        result.add(new Triangle(25,25,50));
        /*result.add(new Triangle(80,120,50));
        result.add(new Triangle(150,90,120));
        result.add(new Triangle(80,50,120));*/
        return result;
    }
}
